package com.platform.server.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.platform.server.dao.LogDao;
import com.platform.server.service.LogService;

@Service
public class LogServiceImpl implements LogService {

	@Autowired
	private LogDao logDao;
	
	/**
	 * 查看操作日志
	 */
	@Override
	public List<Map<String, Object>> selectLogList() {
		return logDao.selectLogList();
	}

	/**
	 * 删除操作日志
	 */
	@Override
	public int deleteLog(String id) {
		return logDao.deleteLog(id);
	}

}
